#ifndef __FATFS_APP_H__
#define __FATFS_APP_H__

/*
typedef union {
        uint8_t sdsta;
        struct {
            socket_in:1;

*/
//card status define
#define     IS_CARD_IN          0
#define     IS_CARD_INIT        1
#define     IS_CARD_GETCAP      2
#define     IS_CARD_MOUNT       3
#define     IS_CARD_IAM         4           //is card init and mount?
#define     IS_CARD_FMOUNT      5           //is card first mount


void fatfs_app_init(void);
void fatfs_sd_monitor(void *ppdata);
void fatfs_sd(void * ppdata);


#endif
